package myInterface;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "SC-POST-CLIENT")
public interface PostInterface {

    @PostMapping("/print.cc/{id}")
    public String sayUser(@PathVariable("id") Integer id);

    @PostMapping("/postSay.cc")
    String postSay();

}
